
package com.yuantu.judiciary.model.api;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 工商基础信息询参数表单
 * <p>
 * 参数 id、creditcode、regno、name、orgcode 至少有一个入参
 * <./p>
 *
 * @author syw
 * @since 2023-07-03
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("企业行政违法查询")
public class CompanyAdminPunishPageQueryDTO {

    @NotBlank(message = "企业名称不能为空")
    @ApiModelProperty("企业名称")
    private String name;
    @NotNull(message = "授权标识不能为空")
    @ApiModelProperty("授权标识 1 已授权 0 未授权")
    private Integer authorize;
    @NotNull(message = "pageNum不能为空")
    private Integer pageNum;
    @NotNull(message = "pageSize不能为空")
    private Integer pageSize;




}
